in the act

.
In the process of doing something. For example, The police caught the robber in the act, or I was in the act of closing the window. [ Second half of 1600s ]
.
Performing sexual intercourse, as in Her father caught them in the act. [ Late 1500s ]